Nested case class conversion with nice error messages.

Fixes #58
Review by @gzm0 @hubertp

Why?