public static function getSubscribedEvents() { return array(array('event' => Events::POST_SERIALIZE, 'format' => 'xml', 'method' => 'onPostSerialize')); }