Get attributes returns orm columns name and not columns name

This PR is to make sure we use column property name instead of the column name found in the DB.