remove REST records:[] array from all but /v1/hubs/