The parsing could be part of the `collectBundles` util function