That's an unfortunate property name, because Python has `object`. How about `to_json` method?