Remove deprecated fields from test JSON.