finish json loading