Remove need for to hack .json off end of path