Adding value(), KeySet(), KeyValueSet() for mongodb