more preliminaries: sketch for JSON, tests