json parsing advanced a few steps