JSON REST API exposed using SPRING