added ability to set field exclusion policies for json serialization