add DER parameter to pk__tostring for symmetry, but we still need to refactor stringification APIs because it's unuseable as-is