Fixing object tostring error in crawler