public static IEnumerable <Invocation> ToInvocations(this ReportElements reportElements) => reportElements.Where(e => e.IndentationLevel.GetValueOrDefault(0) == 0).Select(e => e.ToInvocation());