Encode object to json with 2 spaces indent.
String jsonPrettyEncode(Object? object) { return _cvJsonPrettyPrintEncoder.convert(object); }