pub fn load_json(json_str: &str) -> Result<Repository, FPError>