Fix unflatten for nested objects with numeric indices

Options need to be passed through to the recursive call, so that .safe
and .object are still applied to nested objects.
Merge pull request #8 from simonratner/fix-nested-unflatten

Fix unflatten for nested objects with numeric indices