Needs to convert dynamic property to string to avoid invalid argument exception.
Merge pull request #2 from kjelliverb/master

Invalid argument exception fix