Subset is a library to ease extracting fields from MongoDB documents, serializing them back and constructing queries.