Cleaned json settings from cruft
Handle sub paths, i.e. reload now works