Add in coercing to/from yaml without needing a file