change to new json definition