server side Model class and JSON mapper