Group data by username/activity/application/session

To do so, send a post request at /api/group with json body of the following format:
{
    "group" : "user/session/application/activity"
}
The current response is an array-of-array where the inner array contains parent_value and an array of log data corresponding to that parent_name