Supporting a BoardToJson function