add support for is_dict to form fields