trying to make the yaml serializer