fixed formatting error with response body in /api/record/{uniqueId}/publish.