LPS-47192 Link To Page field should take care of layouts VIEW permissions
LPS-47192 Avoid duplicated code - create new function "getLayoutJSON"