Log legacy service response as JSON in the event of a validation error