Python Create Json Table Definition