Wrap hashes as objects on the fly