Use spring repo
Add in a restful json endpoint