Clean deps before building them: regarding JSON issue