When the output are unserializable objects, return them as strings by the means of out-string
Add error handling