Improve dependency formatting