Raise error when checking a size of a json ruby value of nil

Hi Steve,
  Please let me know what you think about the tests.
Thanks,
Beth
Also, scrap the period on the end of the error message for consistency with the other error messages.