Fix serialization of certfp data