Convert RecordSource to dataclass.
Convert RecordSource to dataclass.

Signed-off-by: Daniel Palmer <b6ced4168a19f8065f5d62b69c834c0a5b995458@anchore.com>

anchore/anchore-engine,anchore/anchore-engine,anchore/anchore-engine