removes data_for_nbs, pretty prints json