Adding objectResult for non-string output