fixes bug 1051008 - Crontabber state should use the public API for json

@lonnen r?