modify `if (PSR-2 or 1)` decodePayload()