added function to process places request array and pass callback to execute on each result