remove curly braces from hash