Php Create Json Object Nodejs Download