Array respresentation of Table entity results

Added a method to retrieve table entity results as an array, making it easier to use the data further - like `json_encode` and create a JSON object for the results.