minor changes - source formatting render and renderJson needs return