Added string array support to ESJsonEncoder

This is a quick tweak to allow ESJsonEncoder to handle multiple string values.
Spelling typo: `beginning`