add integers and true/false to the ruby 1.9 json dump method