Fix block separation in md format so that JSON responses are
correctly formatted