cell2json can add cell type information to json object