Integration between scodec and spire