Converting PDO results into objects to cater for settings to fetch result as array