<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def representCleanOpenAPIObjects(dumper, data):
 """ Produce a representation of an OpenAPI object, removing empty attributes """

    dct = _orderedCleanDict(data)

    return dumper.yaml_representers[type(dct)](dumper, dct)