beginning of JSONHandler and DataSource