Fix a spec compliance issue where requests to the `/publicRooms` federation API would specify `include_all_networks` as a string.