Created helper method for parsing * or _all in rest request