MOD: big change: result format, role list and query