Modified views to accept & parse json objects