How to Fix "Cannot Use Object of Type stdClass as Array" in PHP json_decode() | CodeTrail