Making sure post.author is always an object