convert artifact string to artifact