json canonicalization, use mObject instead of Object