Trying to store rrdtool like datastructures in mongodb. Help is welcome.