Revert "updating weight field to be number"

This reverts commit 0f53becf08a596f7898694f4eebd892ec508eead.