fog/fog — pull request #891 by Keoven (2012-05-04 10:55:27+00:00)
Title: Nested Credentials with Array gets flattened; restrict flatten to 1L

This is mainly to take into account credentials which has a structure wherein when flattened would result into an odd number of elements. For example:

```
{ :token => 'abcdefg',
:roles => [{:id => 1, :name => 'admin'}, {:id => 2, :name => 'netadmin'}]
}
```

@redzebra The other thing I'm concerned about is that if this works with ruby 1.8.5.