Remove JSON parsing which is prone to errors

JSON parsing is not reliable when using binary data and can cause crashes when retrieving blobs. Because data is already inserted into GridFS as a buffer, the layer where the buffer is parsed into JSON has been completely removed. Also, the content type has been changed to 'application/octet-stream', which represents arbitrary binary data.