removed pyelasticsearch
added json mimetype to httpresponse