A simple mapping framework to map hashes and xml