Avoid "[object Object]" being printed to screen