extends nivo to json