Convert raw results to array

#874