Updated send/BBMRI_* scripts
- updated the messages to be more descriptive about from where the error code can actually be
- added handling of return code 0
- added correct exiting
- process JSON files with jq instead of cat and compact the output before sending it to curl