progress with JSON and structs