from typing import Dict


def parse_passport_fields(passport: str) -> Dict[str, str]:
    """convert the string representation of a single passport to a dict"""
    fields = [f.split(":") for f in passport.replace("\n", " ").split(" ")]
    return {k: v for k, v in fields}