Add initial support for rest mock action and response