To policy-output-format=json, add line info to elements, remove absolute offsets