More sketching of JSON support.