Hello bujji,
I suggest you to read chapter 7 in the book of Krügel et al. https://www.springer.com/de/book/9783319446479. You should find anwsers to your questions there, as we implented the converter class according to this chapter.
Best regards, Max