Forced render type to json to avoid bad detection behavior