return immutable hashes from forms

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