Text this: Surface and bulk reactions in borohydrides and amides