Using UTF8 enconding for JSON-to-binary