restapi: fix broken rsdl_metadata

Change-Id: If11d1307ec37a5d924f12b8e757e693201f977da
Signed-off-by: Michael Pasternak <mpastern@redhat.com>