private function getJsonPayloadFromRequest($request) { return (array) json_decode($request->get('mandrill_events'), true); }