fix parsing objects like Go, } on new line and comma at end of k-v pair. Closes #15