refactor unused abstraction

since we only support JSON-format, don’t use respond_to, as it’s not
needed