Change JsonBuilder to use Collection object for greater abstraction -
originator is the-ntf
Fix class cast exception reported on OpenNTF