Fixed object serialization

Resolved object serialization issues for storing API keys locally