resolves #217 don't compact nested documents
Merge pull request #248 from mojavelinux/compact-once

resolves #217 don't compact nested documents