added json code with licence