fixes #1.

the preview now handles utf-8 characters correctly. unfortunately,
there does not seem to be a way to set the text encoding in the
thumbnail, so those are still jacked up.

also, this commit removes the sbjson dependency and just uses
nsjsonserialization.