Map<String, Object> compile() { final map = toJson(); return map.map((key, value) => MapEntry(key, _convertToObject(value))); }