rest-api: fix rendering so test_saltkey can pass

Signed-off-by: Gregory Meno <gregory.meno@inktank.com>