add try catch JSON architecture