Error format

Homogenize error format by wrapping in data field. Now, all responses contain their body data in a data field, so metadata can be stored around it.