First pass at adding array support to ESJsonEncoder.