Remove views and convert to json

Json mapping via jackson
Now returning json