Json_encode utf-8 bugfix.