Changed routes so that the json is available in the root_path.