fix ace editor params encoding

json_encode second param is not boolean type, it supposed to be a string like "JSON_UNESCAPED_UNICODE" or nothing (probably confused with json_decode function which has the second param a boolean type).

I just found out that on php 5.2.17 this cause the function to return NULL an the ace editor will fail in javascript.