make results serializable