Json Learning and tests