indentation fi
buildUrl now takes a record
rest adapter correctly groups records based on the url