Move obj2yaml to tools to sort out make's dependencies.