Automate EJSON and HTTP