Fix creating tables for objects that contain JSONObjects or JSONArrays