Example of bogus bug with stub as_json method