nl_tokens: to reduce the number of db operations we try to compute only the records that need to be changed here .
pl_tokens: function diff ( datasetClientJson , localRecords , next ) { var recordsDiff = diffRecords ( syncUtil . convertToObject ( localRecords ) , syncUtil . convertToObject ( records ) ) ; return <mask> ( null , datasetClientJson , recordsDiff ) ; }