transform dbspec from key to yang syntax; insert ifdefs for disabling pt spec