Implicit conversion to case classes

(sorry if I didn't spot it before)