JSON REST API for rental app