Early JSON/XML parsing