make form params arrays
Merge branch 'restdoc-principals' of https://github.com/sathomas/Hilary into restdoc