[PATCH v3 2/2] batctl: genl_json: Add generic JSON interface