offline json file parse and check. new logic and feedback