use new body parsers
fix up swagger to validate correctly