Simplified object encoder using Scala 2.10 reflection