fix json format and model object (maybe a problem introduced with mantle upgrade?)