diff --git a/showtimes.py b/showtimes.py
index b5c1864b1d27b1ee0e48e0975b9f236157c2e1ef..8e90758d0dad649f5a4d57d7fb3212928e5f25bd 100644
--- a/showtimes.py
+++ b/showtimes.py
@@ -13,7 +13,7 @@ with open("{}/database/showtimes.json".format(os.getcwd()), "r") as f:
 
 @app.route("/", methods=['GET'])
 def hello():
-    return json.dump({
+    return json.dumps({
         "uri": "/",
         "subresource_uris": {
             "showtimes": "/showtimes",
@@ -24,7 +24,7 @@ def hello():
 
 @app.route("/showtimes", methods=['GET'])
 def showtimes_list():
-    return json.dump(showtimes)
+    json.dumps(showtimes)
 
 
 @app.route("/showtimes/<date>", methods=['GET'])
@@ -32,7 +32,7 @@ def showtimes_record(date):
     if date not in showtimes:
         raise NotFound
     print(showtimes[date])
-    return json.dump(showtimes[date])
+    return json.dumps(showtimes[date])
 
 if __name__ == "__main__":
     app.run(port=5002, debug=True)