Fix bug in encoding/decoding null content.