public function normalize($object, $format = null, array $context = [])
{
$data = new \stdClass();
if (null !== $object->getType()) {
$data->{'type'} = $object->getType();
}
if (null !== $object->getDescription()) {
$data->{'description'} = $object->getDescription();
}
return $data;
}