backed out of bad json wrapping code.  made structs able to describe themselves and a struct adapater able to read/write structs based on that description.  fixed a couple bad bugs with serialization
code gen