Ok, after hours of trying to figure out what was wrong with my mod I figured it out. Be very sure you are encoding your files with "UTF-8 without BOM", standard UTF-8 will give you the random bugs that I've been experiencing. Where every bit of your syntax is correct but the engine won't load your asset or file and cite nonsensical syntax like adding more "{" at the beginning of your file.