Add support for signed data in unpackbuffer

Fix format of some requests/responses