added last_action game attribute to json encoder