Fixed views and JSON parsing