Convert BookRestEndpoint to GroovyChainAction