Deal with JSON not willing to encode/decode non-objects