[build] add some missing dependencies
[messages] add support for spaces in messages array

- add special delimiters ([]) for arrays (which are now forbidden
  characters)
- backward compatible with old format if no spaces in array