Allow more than 1 nesting level

The following yml :

```yaml
test:
  nested:
    string: This is a test
```

would give the following key : `nested_string`, only the last 2 keys would be processed when creating the constant name.