Data science up for first round of review

1) Focus on rspec tests 
2) Stuck at trying to refactor the exception part
you don't need this, unless there is a reason json_rows would persist, but since it is a local variable of the function, this should never happen