inserted php json snippet