Unpack nonstandard attributes while representing an OpenAPIOperation

def representCleanOpenAPIOperation(dumper, data):
    """
    Unpack nonstandard attributes while representing an OpenAPIOperation
    """
    dct = _orderedCleanDict(data)
    if '_extended' in dct:
        for k, ext in list(data._extended.items()):
            dct[k] = ext
        del dct['_extended']

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