In my Asp.Net WebApi application I am having APIs that are taking objects as parameters and returning jsons of anonymous types which are created on the database layer in stored