Updated to similar code to json
And when i tried to update instead of replacing the value it made and entry into the struct
Ex.
current struct
map[data:map[field_four:12 field_three:check field_two:[data1 data2]] field_one:value]
after passing to function struct
map[data:map[field_four:12 field_three:check field_two:[data1 data2]] data.field_three:check changed field_one:value]