Added ability to load json