using npm react, inline shows json