added validation route for #51 and format-agnostic validation