added exclude feature for json