Clean up console.log to be readable in code