remove URI newtype

Remove the URI newtype and just use orphan Aeson instances instead,
to simplify things.
add top-level type signatures to Types test