String? getStringOrNull(String key) { if (jsonObject.containsKey(key)) { return validateString(jsonObject[key]); } return null; }