Added JSON route and linked chart view to it