Added supports() method for validators. Only serialize supported Resources.