not recursing into labels to avoid infinite loops
using yaml as the storage format of the result as it handles graphs out of the box
fix all the test data to be yaml