add logic to get products as JSON formatted string to return three values product id, name and quantity.