renderJson use text/plain if application/json is not available