Returning payment schedule as a json in order to render on the calendar - bare-bones implementation