ADDED: Reply format json-html, to support a remote toplevel.
Added pl-comment style
MODIFIED: term_to_json/2,3: use dicts and only accept dicts as native
translation to JSON objects.  Might break some code, but makes the
translation more predictable.
CLEANUP: Used dicts for JSON translation