Turn the two dimentional array returned by PDO to a list of values