removed dict object from RxFx endpoint function