Implementing getChildren() method for RestMockAction and RestMockService