Map Kafka json structures to case classes