Update Json.php

Set second parameter to json_encode() with true for return array.
Changed decodedValue check condition.