[BISERER-11268] - Encoding call was breaking on array check, when array ...

...is coming from java. This was causing the array to get wrapped in an array, causing the mapper to map an array to each index instead of an element.