Added a fallback to handle cases when a non-string object is passed as a parameter value.

The value is parsed to string using the default object.ToString() method.
Added a fallback to handle cases when a non-string object is passed as a parameter value.

The value is parsed to string using the default object.ToString() method.
Amended the previous commit and added another change
Merge pull request #1 from UzEE/master

Added a fallback to handle cases when a non-string object is passed as a parameter value.