First cut of writing Json to CAS