properly added json code and tests