def add_representer(data_type, representer, Dumper=Dumper):
Dumper.add_representer(data_type, representer)<EOL>
Add a representer for the given type.
Representer is a function accepting a Dumper instance
and an instance of the given data type
and producing the corresponding representation node.