Add spec for nesting capabilities of HashObject
Implement nesting feature for HashObject