version 1.1

adding the json return functionality