Simple mongo java client to store documents