Add Dumpable plugin for specific control over marshalling. Add specs to cover #330.