Referencing Struct fails with Psych::BadAlias Unknown alias

Loading a YAML referencing `Struct`s fails with `Psych::BadAlias: Unknown alias: 1`

I've added a test to demonstrate the failure.