Fix "Unknown YAML Tag '!'" error when deserializing custom ruby objects

Under certain circumstances #34 was still occuring, this reproduces and fixes it.