def map_input(self, data: typing.TextIO) -> typing.Dict[str, typing.Any]: result = ucl.load(data.read()) # type: typing.Dict[str, typing.Any] result["legacy"] = True return result