simplify Ivy resource parsing