Moved determs to json