resolve disambiguities in json