Add a Location serializer

Signed-off-by: David Celis <me@davidcel.is>