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