XML graph engine - XML to Moose objects and back