kemix: added functions to get proto string and id