Bug fix: add __iter__ to allow "key in _meta" in DocumentMetaWrapper