Investigating JSON parsing and added doc strings.