JSON parsing and gathering of people active in the past 10 minutes. Response created to be returned to callers