Add encode_opt() to choose native or escaped utf8 code

Sometimes I need human-readable JSON string, instead of escaped unicode. Surrogate pairs are not yet supported, but it's enough for now to me. The idea is to add a record `encode_opt_v1` as a option record and takes it around like a context.