Adds ability to serialize and deserialize pulic keys from-and-to strings.