add sane defaults to the JSON API