Show filtered items for a view, SD-550

Rafactored the code and moved json processing methods in a different file.