Added capability to ignore encoding certain fields for JSON.