Added support for appending non-string objects to string