Rest API: fix non-ascii letters and multi-author issues

Resolve #522 and #519