Now using int2str ANSI C function for converting int to string when preparing mongodb insert. Much improved performance of uploading a dataframe