Refactored /api/* to /json/*, /application/ and /mock/