render metadata urllib2/json encoded