restapi: Use StringBuilder for String concatenation

Change-Id: Iee94056b785ef76cffafd4b2d07ae001dfab7674
Signed-off-by: Ori Liel <oliel@redhat.com>