LENS-92 : Fixes result formatter errors for complex types (Rajat Khandelwal via amareshwari)