json views now working