added support to rpush, rpushx and lrange methods