add possibilty to output data as array and fix some issues
Merge branch 'master' of github.com:chrigu-ebert/Sushee-CMS