<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def safe_dump(data, stream=None, **kwds):
 """implementation of safe dumper using Ordered Dict Yaml Dumper"""

    return yaml.dump(data, stream=stream, Dumper=ODYD, **kwds)