Implement system.keygen API command; return dates in ISO format