webservices: Allow the dictionary functions to be used with any dictionary.