now basic support for JSON replies in our C IDF service