Added serial number parsing

adds 'serial' to the x509 object which is just the hex value of the certificate serial number.