Use Yason to decode as plist, fix PUT upsert

Signed-off-by: Julien Danjou <julien@danjou.info>