little bit of json generation for inspecting expressions