navigation and clean up get JSON functionality