Fixed parsing of quotes and null elements.