Improve bin/utils/redcap_records.py - now works with json/xml

Improve `bin/utils/redcap_records.py` - now works with json/xml

While debugging the speed of data transfer we tried to use "redcap_records.py" tool for json data but it did not work as expected.
With this change we can now import/export xml and json data.