Fixes #332 Handling of lists in defaults

Creating pull request for @graffic.