Try to decode bytestrings from UTF8 in json_safe

Closes #148