dumps json on command