Convert to new format the web-loading branch uses.