Added c version, json support