fix json convert for deployment