almost all REST tests are passing again. (YAML tests are failing as it's hard to compare strings)