basic mongodb thrift