Scheduler: use JSON requests
Use JSON requests instead JSON file manipulation.
Leave the current implementation as failback.