data class returns dynamic result hash when querying