Made the json response dynamic using hash map. Removed static object such as question and item.