Keys: Modified and added standardized toJSON/fromJSON prototypes
Merge pull request #728 from braydonf/feature/keys-standardized-interface

Keys: Modified and added standardized toJSON/fromJSON prototypes