Added string array support to ESJsonEncoder

This is a quick tweak to allow ESJsonEncoder to handle multiple string values.
Thanks @rafrombrc. It actually didn't occur to me that I could pass in the type to `writeRawArrayField` and use that in my switch statement. I'll give that a shot and let you know.