Updates to reader, php2json
Fancied up php2json
Minor changes extract vs. generate schema.