fix cmtjson2crt