I did a minor update to the above update, if the array size is 1 then use the original code, otherwise use the code you provided. The patch is here:http://jira.codehaus.org/browse/JETTISON-104
Unfortunately, this broke my test cases for one-sized collections, I will try to work this out this weekend.
