Use tuples for the list of applications on a node to work around hashability of sets