routes: lookup and accept custom table names (bnc#885007)