Added code do generate JSON from web pages