added JSON endpoint for movies