Changed Registry to json