fixed Bug in utils.py regarding accessing dictionary

somehow you can only access a dictionary attribute using dict['attr']
and not dict.attr. Also added a casting for cleaned_data to become dict.