prefix json routes with 'api'