metadata: store engine status as valid json

Change-Id: Ib8752453323d0511f9faa522912151be7e7daf21
BugUrl: https://bugzilla.redhat.com/show_bug.cgi?id=1101299
Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com>