1100638 - Update task search API to match the serialization used for other task APIs

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1100638