Added json-c support