MySQL: Added parameter to force assoc. array in another array if only one row.