made it that you can add as much record as you want and client side can now request json from the server side