OZP-17: refactor, convert layoutConfig to designer format when designing and to dashboard when saving