serializers with no attributes serialize to empty hash