json conversion for the new dictionary