return hash instead of dict from forms

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
fix form value extraction

Signed-off-by: Jan Dvořák <mordae@anilinux.org>