Normalizes an object into a set of arrays/scalars
object $object object to normalize:
string $format format the normalization result will be encoded as:
array $context Context options for the normalizer:
array|scalar
public function normalize($object, $format = null, array $context = array());