Fixed api formatting to not need .json