Add option to decode_json_assoc

http://php.net/manual/en/function.json-decode.php