Remove all auto-formatting logic from object-codec.  That belongs in the formats mixin.