Stores table data in a JSON object