misc fixes
simplegetapi: encode JSON in utf-8, dont leave as a unicode object
misc fixes