added search ability and the jsoned_to functions