Change README example output format from json to javascript.