Refactored sample JSON call. Updated Jasmine specs.