Trying to make action JSON generation deterministic