[#1258] json validation for facet.field param in package_search

move validation out of action function and into the schema to prevent
500 errors