Move format json to a structured string logic into utility class.
Move path get functionality into utility class.
Replace done.