not able to fix json errors for tables