converter - temporery solution before we have adaptive socket definitions rewrited to util.py