Extract all JSON to top & associated changes.

* Extract all JSON to large BUILDS constant.
* Made generic build_project as intermediary func.
* Use lambda in dict to avoid extra funcs.
* Slight global hack with ODIR due to new changes, not a good
example for python.
Update zsh url.