changes necessary for recursive JsonArray processing

These changes, along with a corresponding change in halbuilder-core, allow the entire object graph of a JSON representation to be converted using 'toClass'.

This is enabled by checking if a field is an array and if so populating the resource properties with an ArrayList containing all of the elements within the array (recursively converting them).

Please consider merging this pull request.