Changed the code to not add the json extension