Add json generator script and makefile target