Changed JSON format to support action ids.