actually i can use flatten in `jsx_to_term`! sweet