Fix syntax errors
Fix access of field value

Provide to jsoncpp the default value for new fields
Fix usage of undefined C construct