Remove unused keys from json, ref #21392