I\'m working with a messaging service using a python based API. The API does most of the deserializing work, rendering messages into python dictionaries. However, in some ca