unsuccessful attempt at spring data rest - fix later.