Make dependencies an array of objects
relative -> relativePath