The config is identical to ESJsonEncoder, should we split it out and include it