BUG: utf8-compliance, simplify the requires in api/index