Fixed some JSON encoders that broken PHP 5.2 compatibility.
Merge branch 'development' of https://github.com/bigtreecms/BigTree-CMS into development