Python Json Check Array Php Push To Associative Array