Flatten partitioned repertoires too when JSON-encoding concepts