Return complex types as strings in the SharkContext API.