made json output more json-y with a title and value for each instead of passing back a dictionary