"As per my understanding, we need to add JSON-LD script with in <head> tag at the page level. " JSON-LD can be in head or body. Perhaps AEM has it's own peculiarity as to where it needs to go though? You can also manually add it into the freeform area in the meta data area if you have that configure...