Added array support to ESJsonEncoder

This is a quick tweak to allow ESJsonEncoder to handle multiple string values.