Add implicit macro def for reading case classes