Rearranged JSON package, commented out getRainfall(), modified debugging function