save p["name"]:"" value to a separate variable