bug 441760: Added support for adding Enums (which was removed after version 2.0.2 and getBinary() method to retrieve value as byte[] since an application should not have to know how a byte[] is stored internally.
Added missing JsonArray related test cases.