Third phase for json support