rename fields to the react conventions