Emit non empty hash with whitespaces before and after curly braces