Treat weight as an int instead of a string.

This will fix an error that caused players to be unable to add stacks of items to manamarket.
LGTM, but in future this should probably use `int(item3.get('weight, 0))`