support mandatory deep hash params for json and xml output
leave out the check for specific content_types, we want this to work for any deep structure supporting encoder