Solved json transition problem