Converting derived state properties that were using functional syntax to simple string or plain object