WEB-14167 Represent property alignment types as integers, not enums
(cherry picked from commit 401c763)