I created #1027 to fix that for the elasticsearch-http output.