LTSV encoder based on Symfony Serializer component