nesting for nested sub-elements.

required by mongdb.
lint fix.
Merge pull request #24 from amida-tech/fixes-mm

Storage bug.