Easily serialize dataclasses to and from JSON
