Rename method that generates log json, for clarity.