multiple apiv2 fixes
multiple apiv2 fixes
Deepcopy data structs to avoid data shadow
forgotten dict