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