add missing attributes for post serializer