Ignore extra fields in json or db objects