adding content_type info to result object