I should have commented this block.  Basically trying to establish the hierarchical relationships between endpoint paths so it's easier to generate the RAML later.