not using curl for posting json to solr. Using urllib2 instead