Working logic for po2json transformer