def hints(): return jsonify(zoteroapi.hints())
def typeahead_hints(): hints = zoteroapi.hints() hints['items'] = map(to_typeahead, hints['items']) return jsonify(hints)