sendAppJSONResponse set correct Content-Type