[1.7.x] Fixed #23226: Model options appearing as bytes type in migrations