Generic deserializer from YAML (simple format)
The YAML string to parse
Function to reconstruct the type from parsed data
Reconstructed instance
Generic deserializer from YAML (simple format)