add Object#to_json monkeypatches

because the JSON gem has infected the universe with them and I don't
have time to clean it all up right now.
Merge pull request #358 from opscode/lcg/add-json-compat

add Object#to_json monkeypatches