pytest_plugin: Drop unnecessary back and forth conversion
This is preparatory work to incrementally migrate the sample_data fixture to use model objects directly.
Related to #2494 (closed)
Depend on !854 (closed)
Test Plan
tox
Migrated from D3582 (view on Phabricator)