Remove restricted fields from JSON responses.