Split parsing of JSON from HTML rendering