Generic Restful controller specific for our mocking needs