leveraging json structure