Add support for encoded JSON