Adding contact model and connection through jackson api to obtain json.