fix for issue #9 make sure resource_uri takes pk_field overrides