Added a view for .json to avoid 404 errors on servers (vs localhost)