Adding compatibility module dataclasses for Python < 3.7

2 jobs for fix_dataclasses in 4 minutes and 29 seconds (queued for 2 seconds)