def serializeTransform(transformObj):
 return ' '.join([(((command + '(') + ' '.join([scourUnitlessLength(number) for number in numbers])) + ')') for (command, numbers) in transformObj])

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