convert mongo collections to mysql tables