Fix loading of nested attributes (Hashes) in REST adapter

This PR fixes loading of hashes from JSON. The previous way caused key-value attributes to be loaded as JS `Object` into opal, instead of `Hash`.