modified getPerson to make possible respond with an particular array of persons