made correct JSON