diff --git a/movies.py b/movies.py
index 9f6a2e23752f1843267d1f59f81abc51f831df1c..f881acf2f0f4eb46c977ec49a218de29537a9fbe 100644
--- a/movies.py
+++ b/movies.py
@@ -27,12 +27,12 @@ def movie_info(movieid):
     result = movies[movieid]
     result["uri"] = "/movies/{}".format(movieid)
 
-    return nice_json(result)
+    return json.dumps(result)
 
 
 @app.route("/movies", methods=['GET'])
 def movie_record():
-    return nice_json(movies)
+    return json.dumps(movies)
 
 
 if __name__ == "__main__":