Implement encoding of arrays of objects