Add a simple test program to parse JSON on stdin
Replace the big macro in struct.c with an included file