changing to suport yaml rather than json and adding optional restructuredtext support