finished, sends json correctly