updated version to reflect dev
added to_json to View class