Try catch wrap for string to object converter