Cleans unneeded stuff of mongo entities before sending them out over AJAX