added deepcopy of data for the apicall
Merge branch 'dev' of barnabas.kellpro.net:kts into dev