reorganisation
Make it listen to file changes on the json outside of the gettype call