signing object and validation fix for message object