wrote a method that converts every string to unicode before passing it to json.dumps, closes #294