Extended Process interface to include a toSerializable method with a
default implementation of throwing an "unsupported exception".
toSerializable is to be used to derived serializable forms of processes
without "noise", such as prototypes for builtins.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>