fix invalid json in the app instance registration