A restful api to a spark rdd