auto map database model to view model (do-sql-json)