improved api and tests; now removing Content-Type on 204s
enveloped responses put the original response in the data field