workaround for kiwi's bug returning an object instead of string
resulting in rendering json encoded html

source: http://stackoverflow.com/a/15088851/160386