Having an IList<NameValue>
nameValueList, I need to convert that list to string for sending to aspx file as json. But because this happens in a project that does not have reference to system.web.script or system.web.mvc, i should use another way to serialize the IList
NameValue is an object that have 2 public properties (name and value)