copy the buffer to create a NSString from the parsing buffer to avoid the second bug from https://github.com/fotonauts/MongoHub-Mac/issues/125