Changing references to dart:json to use dart:convert and updating method signatures in the unit tests