Add json and rst extensions to included files