[scanner] Deep copy json structs (Closes: #985)
The lists in the DEFAULT_JSON_PER_BUILD where only initialized and thus shared between builds resulting in accumulating the entries over all versions. As per 2f5d780c DEFAULT_JSON_PER_BUILD is used as an API, so use deepcopy to work around it.