better not switch case on a string as that is a JRE7 only feature. however, if multiple field filtering is ever required : revert this commit