hack to re-convert string back into a hash for ar-import