De-dupling the fake/mock REST endpoints