Adding default application/json Content-Type on object responses, removing legacy response.headers object.