clean up json parsing
fix timezone bug
revert timezone fix, add comments
create whitespace function