adding generate.php to generate json version