Change json_encode by Bootstrap::json_encode