something = {
"moo" => "meh",
"foobar" => IO.popen('echo foo; exit 0'){|p|x=p.read.chomp;p.close;$?==0?x:fail},
"foo" => "bar",
}
require 'pp'
pp something
c29tZXRoaW5nID0gewogICJtb28iID0+ICJtZWgiLAogICJmb29iYXIiID0+IElPLnBvcGVuKCdlY2hvIGZvbzsgZXhpdCAwJyl7fHB8eD1wLnJlYWQuY2hvbXA7cC5jbG9zZTskPz09MD94OmZhaWx9LAogICJmb28iID0+ICJiYXIiLAp9CgpyZXF1aXJlICdwcCcKcHAgc29tZXRoaW5nCg==