Json Def gen in progress.

Need to figure out the checkbox/radio bug...