main: fix express middleware
main: allow strict enforcing of no multiple values