protected function getValueSerialization(SelectionRequest $request)
 {
     if ($request instanceof PropertySelection) {
         return array('property' => $request->getPropertyId()->toArray());
     }
     if ($request instanceof SubjectSelection) {
         return array();
     }
     throw new UnsupportedObjectException($request);
 }