Changed a few functions to accept std::string instead of char* in order to make mongoInit more compact. Fixed a failing harness test for json parse.