Add support for sub-document projection (fix: #182)

fix for #182