Fix #1259 - unicode characters in jsonapi read.

If the request parameter is a list, and contains unicode characters
in any of the items, the read will fail. (eg, title[]=óne&title[]=twó)

The values are now safe_unicode()d before passing them to the catalog.