Php Check Array Value Exists In Javascript Object Notation