json modles use ostruct, misc tweaks