Fix a typing bug in Pingback.get_type()

Parameters are expected to be strings, but in doesn't do implicit type
casts, so we need to do it explicitly.
Merge pull request #1 from rightfold/master

Make pingback work with a dict of string values