reimplemented json scalar views