Updated Scan Query

Started to format the returned Data.