Fix for blank dates stacktrace issue
nil? => blank?
Merge pull request #56 from ministryofjustice/dates_to_json_bugfix

Fix for blank dates stacktrace issue