A simple utility to mock RESTful APIs