pub fn string_with_default( name: &str, def: &str, properties: &Map<Value>, doc_id: &str, line_number: usize) -> Result<String>