Merge pull request #15 from ZZromanZZ/master

Bugfix of undefined array index in properties for serialization