Php Create Json Object Nodejs Npm