Went down wrong path with toJson