updates json structure to return people as array rather hash