tests passes for new json format