Umlauts in input, feed names

I noted that umlauts and other special characters in feed/inout names would be discarded.
Also, some of the API calls under Modules/input did not return proper JSON.