set values to save defaults to avoid putting nil in a dictionary and causing an exception down stream
Merge pull request #4 from scopely/nil-check

Avoid putting nil to dictionarys