Fixed parsing for multiple dependencies and required version