Visitor for deserializing YAML with JMS serializer