def serializeTransform(transformObj):
    """
       Reserializes the transform data with some cleanups.
    """
    return ' '.join([command + '(' + ' '.join([scourUnitlessLength(number) for number in numbers]) + ')'
                     for command, numbers in transformObj])
Reserializes the transform data with some cleanups.