Update json.php - array processing

The current implementation accepts the input and applies json_decode to decode the form post.

However, the jform array is posted in this way in the php://input.

{"jform[language]":"gu-IN"}

And, json_decode generates $this->data['jform[language]']="gu-IN".

The patch reviews $this->data to detect arrays and generate:

$this->data['jform']['language']="gu-IN"


Regards,
Anibal