work in progress on relation service, add normalizeParams and contextify util functions