Fix 500 on contract creation because of incorrect data structure

Merge request reports