Substitute remoteId into endpoint for JsonWebServiceProvider