fix Assignment ctor from data to properly parse payload