Updating response serialization mapper implementation to not be endpoint specific