Make pingback work with a dict of string values

Pingback didn’t work when `self.parameters['type']` was a string, but this wasn't documented anywhere. Fixed now.