Currently, there's no way to determine the application module hierarchy from the JSON structure written to application-modules.json apart from inspecting the base packages. We should expose both directions in the file, under a parent and nestedModules field.