hibernate json response from database