reorganizing code before redesign
map primitive types (no format yet)
attempt to handle anonymous embedded structs
all swagger tests in the green