Fix incorrect handling of JSON buffer data.
Expose client, expires properties for adjustment post init.