Fixed issue with nested expressions not serializing brackets