early-stage json parsing support