Fix serialization when store_key option used
Merge pull request #34 from pwim/fix-store-key-serialization

Fix serialization when store_key option used