First cut of JSON marshaler done.