Group collection sheet apis

Hi Keith,

In this commit I have added retrieve collection sheet api. 
As per the suggestion, flat data is retrieved from db and in Java code data is reconstructed to get hierarchical data structure.

Is it good idea to send flat data as response and lets consumer take care of display/ data re-structure part ?

Thanks
Nayan Ambali