Adapted sample SPOT tracker code for JSON feed