Trying to get around custom YAML objects