Add parsing and table creation for secondary indexes