Added 'id' field to PostResource.