Re-org json to dict