Use Symfony Serializer for Normalization but use Encoder for json encoding/decoding.