Added quote checking in loading

Ignores brackets and curly brackets that are in between quotes.