formatting mongo