This functionality can be consolidated into a parseJSDoc function, that can be used in here and in readDoc. Also, readDoc should be renamed to readBackendDoc. There should also be consistent use of the "UI" vs "Frontend" naming.