Some Bugfixes to force String instead of Objects on output

- Line 176: typingbug fixed
- some Objects where returned as Objects instead of wished Strings
-- String needed for JS (Ajax) requests
-- forced via ''. at beginning