Opentree issue 490

This has to be merged with https://github.com/OpenTreeOfLife/peyotl/pull/39
together they address https://github.com/OpenTreeOfLife/opentree/issues/490