initialize contract state with JSON
test.json file
initializing arrays from json
missing json_text free
removed const warnings