add .json to api urls