Fix issue with spent flag being inverted in json output