#4 updated yum plugin to use json based plugin api