Add JsonResponse parser helper, clean up context passing