cleanup collections json