Changing ES client to rest instead of native