Convert simple hashes into nested attributes hashes (usefull when importing from excel)