Implemented pathForJSONLocally