Add JSON key to associate struct field
Fix example code