Return an empty list of networks if none are defined in the parameter.
Remove starting/trailing spaces from all the parameter value set on NodeInstance object.