Move JSON format bug fixes to new JSON2 format so existing clients will not fail.

Adds deprecation note for JSON format and uses JSON2 in future proof code (angularjs/log importer).

Other JavaScript will automatically use this format when switched to angularjs.