Fixes JSON marshalling and ChecksList http handler. Adds test