amd/registers: scripts for processing register descriptions in JSON