modified the return type of the GetProducts() method as string rather than Dictionary as it will be fetched from javascript as JSON object formatted.