Prepare for awesome types!
First step towards awesome types!
Util
Make everything a string!

Make the *_raw functions return strings instead of Yojson.Safe.json.
Work on awesome types...
Store ids as ints.

I find it unlikely that DigitalOcean will get ids larger than 2³⁰ in the
near future. If so, the api functions should take int64 instead of int
as well.
Forgot a semicolon + new type get_image
More work on Awesome Types
Awesome Types®
Fix to_record
Add debugging and fix a bug
Implement [destroy_domain_record].

I have also tested the implementation.

The API also has "/domains/<domain_id>/records/<record_id>/edit" which
is basically "replace that record with this record". I don't want to
implement it directly because it isn't a nice interface, and I don't
want to implement a bunch of nicer functions like I did with the new
record interface (e.g. [new_CNAME]).