[2511] Cache persistent object factory resolution for createFromString