[serialization] Add authorization for serialisation

Allows to include (or exclude) entity, or it’s property in the content.
[example] Use simple authorization in serialisation