cleaned up things for better elasticsearch debugging.