Function extract_string

fn extract_string<'a>(tester_name: &str, part: &str, value: Option<&'a Value>) -> Result<&'a str>

Helper function to extract string from an [Option<Value>] to remove boilerplate with tester error handling