Not fully functional yet, but was able to convert this public key to json. I manually removed the non-self signature packets for the gist.