Added test for empty string
Added test for '{ '
Added case where end } is missing
Added test where character after '{' is not '}'
Moved parser to its own struct...

Seems logical because I want to move
state around and parameter passing isn't cutting it
Pretty significant refactoring
Brought the empty object in :)