[BISERER-11268] - Encoding call was breaking on arrays