F# - Generic function to query a database with dynamic return object type