Bug 818218 - refactor extended json object parsing

A long overdue cleanup, I think, with the benefit of using a synchronized static single JSONParser instance.

I device tested this to make sure that pairing still works with the parsing changes.