move some specialized scripts to "home", improvements to php2json