'Given a Python datastructure (typically a ``dict``) & a desired
content-type, this method will return a serialized string of that data.'

def serialize(self, data, format=u'application/json'):

    return self.serializer.serialize(data, format=format)
