result.put( "is_public", new Boolean( shareable && subs.isPublic()));
result.put( "is_author", new Boolean( subs.isMine()));
result.put( "is_shareable", new Boolean( shareable ));
result.put( "auto_dl_supported", new Boolean( subs.isAutoDownloadSupported()));
SubscriptionHistory history = subs.getHistory();
Map options = new HashMap();
result.put( "options", options );
options.put( "is_enabled", new Boolean( history.isEnabled()));
options.put( "auto_dl", new Boolean( history.isAutoDownload()));
Map info = new HashMap();
result.put( "info", info );
info.put( "last_scan", new Long( history.getLastScanTime()));
info.put( "last_new", new Long( history.getLastNewResultTime()));
info.put( "num_unread", new Long( history.getNumUnread()));
info.put( "num_read", new Long( history.getNumRead()));
String json = subs.getJSON();
Map map = JSONUtils.decodeJSON( json );