change contract's contractType to dictionary #1174