Made the required changes 

Create a static dictionary at class level, check out Pramod code for this. In your case for every request you will create a dictionary object, which is not required as such. If you have a static dictionary at class level, it will be constructed once and reused for every request.