Group a number of records into a JSON list

How to group a set of number of records into a JSON list?

It’s very simple to prepare the data into smaller groups with specific number of records in each list by specificfying it’s group size on the snap. Below is the quick screen shot of the configuration

Attached is the sample pipeline for your reference.
GroupbyN_2017_02_18.slp (4.0 KB)