Refactoring of converters into modular / pluggable architecture with type hints in both directions