fix mimetype of api (to application/json)