Update objects.md

last snippet wasn't rendering as code due to missing ```