Decoder: refactoring, key cannot be NULL
Decoder: added support for array-after-key syntax:

key1:
- subitem
- subitem