Scala macro for a simple object mapper based on case classes