private void listHeaders( JSONWriter jw, Bundle bundle ) throws JSONException
{
JSONArray val = new JSONArray();
Dictionary headers = bundle.getHeaders(""); // don't localize at all - raw headers
Enumeration he = headers.keys();
while ( he.hasMoreElements() )
{
Object header = he.nextElement();
String value = String.valueOf(headers.get( header ));
// Package headers may be long, support line breaking by