KAZOO-241: update types and such to be in line with specs
KAZOO-241: properly fallback to JSON if form data not parsed properly