Same as buildJSON, but returns as String.
String? buildJSONAsString([String indent = ' ']) { return convertToJSONAsString(buildJSON(), indent); }