added example of programmatically getting list of objects into JSON

fixed issue #442 - added an example of getting a list and the example of parsing JSON in template