ruby: more deserialization work.