Add Board#to_json and Piece#to_h