Jsonizing three type of tables.

Now the three type of tables will be jsonized