Now decode decodes simple json values too.