Updated new JSON library call