gen filenames based on header names now + fixed dejson + new json/dejson test available
fixed enum validity bug