detect invalid UTF-8 encoding in JSON strings, throw appropriate error
Merge pull request #110 from pheaver/topic/graceful-utf8-decode

detect invalid UTF-8 encoding in JSON strings, throw appropriate error