Create multidimensional arrays from Database_Result::as_array