Resolved duplicate result status issue in prepareJSONData