Allow control characters in JSON string literals

This is to allow multi-line base64 encoded data in the "contents"
attribute of img_personality.

Fixes #51