lowercase names conflict with Elasticsearch/Client

e.g. logLevel was converted to log_level which Elasticsearch/Client doesn't recognise as a valid parameter and raises an exception.