Add dynamic serialization of sbt-specific protocol types