order acceptable tzpe classes by subtype; add log-trace for encoded content