Optimize object allocation for the string representation of executed com...

...mands