maitri was right about the json listener interface