When Whanganui River in New Zealand was declared a legal person, Maori scientists knew exactly what they meant. But how do you unearth the science hidden in ancient oral stories?