pub fn get_str<'a>(input: &'a Value, key: &str) -> &'a str
Get a field from state as a string, defaulting to “”.