[0.9.12] helper methods to select & sanitize resource attributes