You're either a JSON request or the web app, not both at the same time.
Removed the support for URLs ending with ".json".

They were a mess and not useful for the end client.