Use JSON objects instead of ScienceApp class