Updated es-create-user to support JSON input.