use a common JSON error view for all data providers