Fixed json parsing to handle null dates properly.
Formatting correction 

Tiny correction on decode function was needed.
Merge pull request #16 from brewfactory/fix/cannot-parse-null-dates

Fixed json parsing to handle null dates properly.