decode string to get product & service