tostring for opscode