Fix parsing of the json when asking for the available bundles