add sane defaults to the JSON API for convenience