Added function to clean deployment description

Change-Id: I969361b7a13f57db72ad08f68d98b2730fd0840b