Read the injected BOMs recursively to include BOMs imported in another BOMs