adding the ability to specify no validation of SSL certs and also ensuring JSON input from mapping is parsed prior to submission to ES