Build routes from record type objects as well