Add error reporting to Serializer interface, updated implementations.