trying to get the json struct types built correctly