Convert "galleries" bundle to new API format.