added payload object to wrap search query and category in one object