reorgarganized JSON output
changed content-type