replace dart:json with dart:convert in code gen