Refactored to avoid warning.
Refactored to avoid warning.
Refactored Node::renderJSON function to properly format children.

Corrected logic in controller that was preventing queries from working.
Merge branch 'master' into stage