Handle duplicate asset ids - fixes #66
Change persistence of assets configuration to use a map(id->asset) instead of list(asset)