Addition of DEFAULT_ENCODING for crypto module to resovle issues with parsing
and decoding of JSON formatted objects