public function normalize($object, $format = null, array $context = [])
{
$data = new \stdClass();
if (null !== $object->getChildProperty()) {
$data->{'childProperty'} = $object->getChildProperty();
}
if (null !== $object->getInheritedProperty()) {
$data->{'inheritedProperty'} = $object->getInheritedProperty();
}
return $data;
}