remove const variant of json_ptr; it never got used.  and hide it in impl ns
Simplify, sanitize, modernize, and fix bugs in json_cast<>() and make_json()