Fix response with null format and mimetype