Implemented YML serializer