JSON script functions started

started working on the switch to json library structures instead of xml,
still early stages but working out how it may work, code wise all I
added was a new console printer that prints out the json string of the
current series after nextPage is called just to see the size of the
eventual string and the practicality over xml.