convert getsids to unified output