[Draft] - potential workaround for #520

This is some pretty sketchy code, but it seems to work. Just throwing out some ideas for how we might want to fix this.

Before writing to the database, this code replaces all the non-ascii characters with their \u encoding by calling  `create_escapes` method from property tree's json writer. Going forward, we would probably want to replace that with something else.

Is `addNewResults` where we want to make this change?
I would ixnay this whole function and just call `pt::json_parser::create_escapes` directly where ever you use it. It'll be longer, but that's what clang-format is here for.