Added toString to objects used as ha message payload

With proper toString such objects could be logged in a really nice way.