Appends a .json extension to every path