pub fn read_string_map(
    buf: &mut &[u8]
) -> Result<HashMap<String, String>, ParseError>