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