Use path instead of name for dependency file JSON representation