Add test for decimal arrays.
Backend encoders

Fix bug with quoting array elements of types such as DateTime and Decimal.
Remove unused parameter.