adding the ability to handle other property types using .toString() instead of throw a exception

Hi,

I've done a minor update to be able to get the String representation of an object instead of throw a exception. What do you think? Is there something else to update to be able to merge?