Explicit encoding support for categories.
Added more verbose reporting in pdictv2 in ion_loader