Fix StackValue.toString() behaviour