use dart:convert to replace dart:json

dart:json no longer exists so logging_handlers is not functional with the latest sdk