Fix encoding/decoding of calls possessing empty payload