updated JSON/PHP shizzwazz.

working on controller