Added Serialize instances for DefaultMap and Corpus types.