Tag config can be read from string itself as an option

This PR enables the option of reading the tag configuration from the string instead of a file. This will allow reading tag configs in environments where regular file system access assumptions cannot be made, such as packaging the file with a `qrc`.

This PR does not break existing functionality in the user code.