MODULES:REDCAP: redcap:jsonstr->list now handles string with extra characters outside brackets.

- Removes these characters and ignores them
- Also now properly returns an empty list if the brackets [{ or }] are not found.