properly convert the json serialized data to the format as expected by the public contacts search