Add JSDoc documentation for the reusable converter functions.