Fix slight bug in MarketItem.toDict (because python)