Php Add Array To Object In Python