Utility to assist in building MongoDB query JSON. Supports wildcard in inputs.