make nested_hash work.
add a test with :empty with Composition to make sure it works. fixes #75.