Parses the shitty require format into the non-shitty one.