SOC-4096 | [performance] Improves getComments and reduce get property in JCR