Iterate object's fields using reflection