It would be great if the loopback connector supported the postgresql UUID datatype for better performance.
http://simononsoftware.com/how-to-store-uuids-in-postgresql/
I tried to add it as a datatype but it gets set as numeric, when I think it should be mapped to a JS string.