fixing Object#to_json leakage
remove Object#to_json from C ext
fix encoding of fixnums and floats as keys